<{include file="section/admin/admin_header.tpl"}>
<body>
<script type="text/javascript" src="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/highslide/highslide-with-html.js"></script>
<link rel="stylesheet" type="text/css" href="<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/highslide/highslide.css" />
<script type="text/javascript">
hs.graphicsDir = '<{$smarty.const._DOMAIN_SC_CDN_}>/upload/zx/sc/js/highslide/graphics/';
hs.outlineType = 'rounded-white';
hs.wrapperClassName = 'draggable-header';
</script>
<{include file="section/admin/admin_header_login_bar.tpl"}>
<div id="contentA" class="clear" style="width:1300px;">
	<!--leftsidebar sr-->
    <{include file="section/admin/admin_left_sidebar.tpl"}>
    <!--/leftsidebar end-->
    <div class="rightCont">
    	<!--path st-->
        <div class="path">您的位置：<a href="/">首页</a>&gt;<{if $utype == 'member'}><a href="/member/">会员管理</a>&gt; 会员资料<{else}><a href="/merchant/">商家管理</a>&gt; 商家资料<{/if}></div>
        <!--/path end-->
    	<h2 class="title01" style="margin-bottom:10px;"><span>会员资料明细</span>     	
    	<span style="margin-left:150px;">
    	</span>     
    	</h2>          
        <div class="line1"></div>
      	<div class="boxW2">
				<h2 class="title02"><span> 用户信息</span></h2>
				<ul class="list12">
				<li>通行证账号：<{$info.passport}></li>
				</ul>
	            <ul class="list12"  style="float:left;width:300px;">
	            <li>姓名：<{$info.realname}></li>
	            <li>手机：<{$info.mobile}></li>
	            <li>注册时间：<{$info.create_time}></li>
				<li>访问路径：<a href="http://path.pv.z.focus.cn/?uid=<{$info.uid}>" target="_blank">查看</a></li>
	            </ul>
	            <ul class="list12" style="float:left;width:300px;">
				<li>电子邮箱：<{$info.passport}></li>
				<li>IM：<{$info.im.html}></li>
				</ul>
				<div style="clear:both;"></div>
<{if $utype == 'member'}>
        <h2 class="title02"><span>地址列表</span></h2>
            <div class="box02_Tab">
                	<div class="table01">
					<{foreach from=$address_list item=address}>
						<{$address}>
					<{/foreach}>
					</div>
			</div>


        <h2 class="title02"><span>动作</span></h2>
			<div id="user_behavior">
			<{php}>
			$url = "/welcome/widget/user_behavior?uid=".$this->_tpl_vars[uid];
			echo Request::factory($url)->execute()->body();
			<{/php}>
			</div>

        <h2 class="title02"><span>会员订单信息</span></h2>
            <div class="box02_Tab">
                	<div class="table01">
                    	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="table">
                        <tr class="th">
                        <th><div>订单号</div></th>
                        <th><div>店铺</div></th>
                        <th><div>商品</div></th>
                        <th><div>金额(元)</div></th>
                        <th><div>省 市</div></th>
                        <th><div>下单时间</div></th>
                        <th><div>支付时间</div></th>
                        <th><div>状态</div></th>
						<th><div>商品信息</div></th>
						</tr>
						<{foreach from=$order_info key=key item=item}>
						<tr>
                        <td style="width:60px;"><a href="/orders/detail/<{$item.order_id}>" target="_blank"><{$item.order_id}></a></td>
                        <td style="width:60px;"><a href="<{$item.shop_url}>" target="_blank"><{$item.shop_name}></a></td>
						<td style="width:180px;">
						<{foreach from=$item.goods_info item=goods}>
						<a href="<{$goods.g_url}>" target="_blank"><{$goods.title}></a> <a href="/orders/list/?goods_name=<{$goods.ec_title}>&create_time_greater=2011-08-01" target="_blank" style="color:red;">查</a> | 
						<{/foreach}>
						</td>
                        <td style="width:40px;"><{$item.money_real}></td>
						<td style="width:80px;"><{$item.recv_addr.province}> <{$item.recv_addr.city}></td>
						<td style="width:40px;"><{$item.create_time}></td>
						<td style="width:40px;"><{$item.pay_time}></td>
						<td style="width:40px;"><{$item.status}></td>
						<td style="width:40px;"> <a href="" onclick="return hs.htmlExpand(this)">商品查看</a><div class="highslide-maincontent"><{foreach from=$item.goods key=key item=good}>
							商品名称：<a href="<{$url}>/<{$good.goods_id}>" target="_blank"><{$good.title}></a><br/>
							商品状态: <{$good.status}> <br/>
							商品属性：<{$good.properties}><br/>
							商品价格：<{$good.price}><br/>
							购买份数: <{$good.quantity}><br/>
							<{/foreach}>
        					</div></td>
						</tr>
						<{/foreach}>
                        </table>
					</div>
                </div>
				总计：<{$total}>  <{$pagination}>
<{/if}>
<{if $utype == 'merchant'}>
		<h2 class="title02"><span>商铺信息</span></h2>
			<div class="boxform">
				<ul class="clear">
				<li class="i1"><span class="red">*</span> 账　　号：</li>
				<li><span class="in"><{$data.passport}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1"><span class="red">*</span> 商家名称：</li>
				<li><span class="in"><{$data.name}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1"><span class="red">*</span> 商铺名称：</li>
				<li><span class="in"><a href="<{$data.shop_link}>" target="_blank"><{$data.shop_name}></a></span></li> 
				</ul>
				<ul class="clear" >
				<li class="i1">商铺logo：</li>
				<li><{if $data.logo}><a href="<{$data.logo.img_url}>" target="_blank"><img src="<{$data.logo.img_url}>" width="200" height="100" /></a><{/if}></li>
				</ul>
				<ul class="clear">
				<li class="i1">商铺类型：</li>
				<li><span class="in"><{$data.shop_type_name}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">主营行业：</li>
				<li><span class="in"><{$data.major_category}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">主营业务：</li>
				<li><span class="in"><{$data.major_business}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">企业运营资质：</li>
				<li><{if $data.license.img_url}><a href="<{$data.license.img_url}>" target="_blank"><img src="<{$data.license.img_url}>" width="200" height="100" /></a><{else}><{/if}></li>
				</ul>
				<ul class="clear">
				<li class="i1">品牌资质：</li>
				<li><{if $data.brand}>
					<{foreach from=$data.brand key=key item=brand}>
						<{if $brand.img_url}><a href="<{$brand.img_url}>" target="_blank"><img src="<{$brand.img_url}>" width="200" height="100" /></a><{/if}>
					<{/foreach}>
				<{/if}></li>
				</ul>
				<ul class="clear">
				<li class="i1">商铺简介：</li>
				<li><span class="in"><{$data.introduce}></span></li>
				</ul>
				<li class="i1">支付用户：</li>
				<li><span class="in"><{$data.alipay_user}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">支付帐号：</li>
				<li><span class="in"><{$data.alipay_account}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">省：</li>
				<li><span class="in"><{$data.province_name}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">市：</li>
				<li><span class="in"><{$data.city_name}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">地址：</li>
				<li><span class="in"><{$data.address}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">手机：</li>
				<li><span class="in"><{$data.mobile}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">邮箱：</li>
				<li><span class="in"><{$data.email}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">申请时间：</li>
				<li><span class="in"><{$data.apply_time}></span></li>
				</ul>
				<ul class="clear">
				<li class="i1">商铺地址：</li>
				<li><span class="in"><{$data.shop_link}></span></li>
				</ul>
</div><{/if}>
			<div class="page clear">
           <a id="current" ></a>
           </div>
        </div>               
    </div>
</div>
</body>
<{include file="section/admin/admin_footer.tpl"}>
